Debian files. Thanks to Michael Biebl <biebl@debian.org> for the
report. (closes: #541173)
- -- Rob Browning <rlb@defaultvalue.org> Sat, 05 Sep 2009 21:12:12 -0700
+ * Handle the fact that the share/info/emacs-VER/dir{,.old} files may
+ not be created during the install (and so may not need to be
+ removed). This may be the case with dpkg 1.5.4 or newer. Thanks
+ to Sven Joachim <svenjoac@gmx.de> for the report and the
+ fix. (closes: 545379)
+
+ -- Rob Browning <rlb@defaultvalue.org> Sun, 13 Sep 2009 16:49:33 -0700
emacs23 (23.1+1-3) unstable; urgency=low
$(pf); cd $(pkgdir_common) && \
find -name "*.elc" | perl -pe 's/\.elc$$/\.el\.gz/o' | xargs rm -f
- # Remove extraneous info dir file.
- rm $(pkgdir_common)/usr/share/info/emacs-$(major_ver)/dir
- rm $(pkgdir_common)/usr/share/info/emacs-$(major_ver)/dir.old
+ # Remove extraneous info dir files. These may not exist if dpkg
+ # is 1.5.4 or newer.
+ rm -f $(pkgdir_common)/usr/share/info/emacs-$(major_ver)/dir
+ rm -f $(pkgdir_common)/usr/share/info/emacs-$(major_ver)/dir.old
# Remove the shared game score directory to as a simple way to avoid
# a conflict with other flavors of Emacs. Since Debian's